package com.i2silly.wxbot.entity;

import java.io.Serializable;

/**
 * bot_contact
 * @author 
 */
public class BotContact implements Serializable {
    /**
     * [id]
     */
    private String id;

    /**
     * [联系人微信id]
     */
    private String wxid;

    /**
     * [联系人微信昵称]
     */
    private String name;

    /**
     * [机器人微信Id]
     */
    private String pid;

    /**
     * [1：用户，2：群，3：公众号，4：其他]
     */
    private int type;

    private static final long serialVersionUID = 1L;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getWxid() {
        return wxid;
    }

    public void setWxid(String wxid) {
        this.wxid = wxid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "BotContact{" +
                "id='" + id + '\'' +
                ", wxid='" + wxid + '\'' +
                ", name='" + name + '\'' +
                ", pid='" + pid + '\'' +
                '}';
    }
}